/***************************************************************
*  Copyright (c) 2007 by GroupMe! Team (www.groupme.net)
*  All rights reserved.
*
*  This file is part of the GroupMe! Project. Source code of 
*  this project is closed and redistribution of this code is
*  prohibited. 
*  
*  Contact: http://www.groupme.net
*
*  This copyright notice MUST APPEAR in all copies of the file!
***************************************************************/
package net.groupme.controller.model;

/**
 * created on Aug 1, 2007
 * 
 * This class defines a Publication Search Result. It extends {@link SearchResult} with
 * an attribute <code>bibtexURL</code> that points to the BibTex description of the publication.
 * The BibTex file can be used to generate RDF, e.g. by simply calling:
 * <pre>
 *  http://www.cs.vu.nl/cgi-bin/mcaklein/bib2swrc2.pl?url=YOUR_BIBTEX_URL
 * </pre>
 * 
 * @author Fabian Abel, <a href="mailto:abel@l3s.de">abel@l3s.de</a>
 * @author last edited by: $Author: fabian $
 * 
 * @version $Revision: 1.1 $ $Date: 2007-08-01 09:57:53 $
 */
public class PublicationSearchResult extends SearchResult{

	/** the URL of the BibTex file which corresponds to this publication */
	private String bibtexURL = null;

	/**
	 * Creates a new PublicationSearchResult instance. 
	 */
	public PublicationSearchResult() {
		super();
	}

	/**
	 * Creates a new PublicationSearchResult instance.
	 * @param resultID temporal id of the search result
	 * @param name the name/title of the search result
	 * @param url URL of the resource
	 * @param description (optional) short description of the resource
	 * @param type general type of resource (not rdf:type but something like photo, video, rss-feed,...)
	 */
	public PublicationSearchResult(String resultID, String name, String url, String description, String type) {
		super(resultID, name, url, description, type);
	}

	/**
	 * This method returns the bibtexURL of a PublicationSearchResult object.
	 * @return the bibtexURL
	 */
	public String getBibtexURL() {
		return bibtexURL;
	}

	/**
	 * This method sets the bibtexURL of a PublicationSearchResult object.
	 * @param bibtexURL the bibtexURL to set
	 */
	public void setBibtexURL(String bibtexURL) {
		this.bibtexURL = bibtexURL;
	}
	
}